import 'package:environmental_les_app/common/widgets/bottom_pop_window_bg.dart';
import 'package:environmental_les_app/common/widgets/button_public_rect.dart';
import 'package:environmental_les_app/common/widgets/required_field_text.dart';
import 'package:environmental_les_app/common/widgets/text_area.dart';
import 'package:flutter_clx_base/flutter_clx_base.dart';

class TaskSupervision extends StatefulWidget {
  const TaskSupervision({super.key});

  @override
  State<TaskSupervision> createState() => _State();
}

class _State extends State<TaskSupervision> {
  @override
  Widget build(BuildContext context) {
    return BottomPopWindowBg(
      title: "督办",
      children: [
        vGap20,
        const Row(
          mainAxisAlignment: MainAxisAlignment.start,
          children: [
            RequiredFieldText(text: "督办信息"),
          ],
        ),
        vGap16,
        TextArea(
          controller: TextEditingController(),
          hintText: "请输入内容",
          minLines: 2,
          maxLines: 10,
          maxLength: 200,
        ),
        vGap30,
        ButtonPublicRect(
          minWidth: double.infinity,
          text: "提交",
          onPressed: () {},
        ),
        vGap35,
      ],
    );
  }
}
